package com.app.service;

import com.app.model.IncidentModel;
import com.app.util.Result;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface IncidentService {


    IncidentModel getIciByIncId(int id);

    Page<IncidentModel> getPageIciList(int page, int limit, String eventName, Integer eventType, List<Integer> idList, Integer sortType);//角色管理分页查询

//    List<RoleModel> getRoleListLikeName(String roleName);//根据角色名字筛选

    void update(IncidentModel model);

    void insert(IncidentModel model);

    void delete(int id);

    Integer incidentCount();

    List<IncidentModel> selectAll(Integer departmentId);

    Result<Object> deleteIncidentBatchByIds(String ids);
}
